package org.abettor.nookinfo;

/**
 * 专门用来记录各个网址的常量类
 * @author shawn
 *
 */
public abstract class AddressConstant
{
	/** 网站根路径 */
	public static final String WEBSITE_ROOT = "http://www.nook-info.com/";
	/** 本地文件存储根路径 */
	public static final String APP_DATA_ROOT = "/sdcard/.nookinfo/";

	/** 文章分类网址 */
	public static final String NOVEL_CATEGORY = WEBSITE_ROOT + "novels/category.xml";
	/** 文章列表网址 */
	public static final String NOVEL_LIST = WEBSITE_ROOT + "novels/list-ID-PAGE.xml";
	/** 文章段落列表网址 */
	public static final String NOVEL_CHAPTER = WEBSITE_ROOT + "novels/chapter-ID-PAGE.xml";
	/** 文章内容网址 */
	public static final String NOVEL_CONTENT = WEBSITE_ROOT + "novels/ACTION-ID.xml";
	/** 文章搜索网址 */
	public static final String NOVEL_SEARCH = WEBSITE_ROOT + "novels/search.xml";
	/** 文章本地存储路径 */
	public static final String NOVEL_CHAPTER_LOCAL = APP_DATA_ROOT + "novels/chapter-ID.novel";

	/** 图片分类网址 */
	public static final String PHOTO_CATEGORY = WEBSITE_ROOT + "photos/category.xml";
	/** 图片分类图标网址 */
	public static final String PHOTO_CATEGORY_IMAGE = WEBSITE_ROOT + "photos/category-image-ID.pic";
	/** 图片分类图标本地保存路径 */
	public static final String PHOTO_CATEGORY_IMAGE_LOCAL = APP_DATA_ROOT + "photos/category-image-ID.png";
	/** 每日图片的列表网址 */
	public static final String PHOTO_DAILY = WEBSITE_ROOT + "photos/daily-ID-PAGE.xml";
	/** 每日图片的图标网址 */
	public static final String PHOTO_DAILY_IMAGE = WEBSITE_ROOT + "photos/daily-image-ID.pic";
	/** 每日图片的图标本地保存路径 */
	public static final String PHOTO_DAILY_IMAGE_LOCAL = APP_DATA_ROOT + "photos/daily-image-ID.png";
	/** 缩略图信息网址 */
	public static final String PHOTO_THUMBNAIL = WEBSITE_ROOT + "photos/thumbnail-ID.xml";
	/** 缩略图网址 */
	public static final String PHOTO_THUMBNAIL_IMAGE = WEBSITE_ROOT + "photos/thumbnail-image-ID.pic";
	/** 缩略图本地保存路径 */
	public static final String PHOTO_THUMBNAIL_IMAGE_LOCAL = APP_DATA_ROOT + "photos/thumbnail-image-ID.png";
	/** 大图网址 */
	public static final String PHOTO_ORIGINAL_IMAGE = WEBSITE_ROOT + "photos/original-image-ID.pic";
	/** 大图本地保存路径 */
	public static final String PHOTO_ORIGINAL_IMAGE_LOCAL = APP_DATA_ROOT + "photos/original-image-ID.png";

	/** 百科列表网址 */
	public static final String WIKI_RECENT = WEBSITE_ROOT + "wiki/recent-PAGE.xml";
	/** 百科搜索网址 */
	public static final String WIKI_SEARCH = WEBSITE_ROOT + "wiki/search.xml";
	/** 百科内容网址 */
	public static final String WIKI_CONTENT = WEBSITE_ROOT + "wiki/content-ID.xml";
	/** 百科内容中的插图网址 */
	public static final String WIKI_CONTENT_IMAGE = WEBSITE_ROOT + "wiki/image-ID.pic";
	/** 百科内容中的插图本地保存路径 */
	public static final String WIKI_CONTENT_IMAGE_LOCAL = APP_DATA_ROOT + "wiki/image-ID.png";

	/** 笑话分类网址 */
	public static final String JOKE_CATEGORY = WEBSITE_ROOT + "joke/category.xml";
	/** 笑话列表网址 */
	public static final String JOKE_LIST = WEBSITE_ROOT + "joke/list-ID-PAGE.xml";
	/** 随机笑话网址 */
	public static final String JOKE_RANDOM = WEBSITE_ROOT + "joke/random.xml";
}
